#create tables and figures for:
##Enos and Celaya: 
##The Effect of Segregation on Intergroup Relations
##Journal of experimental political science

rm(list = ls())

options(scipen=999)

library(xtable)
library(ri)
library(effsize)
library(RItools)
library(stringr)
library(Hmisc)

source('faces_analyze.r') ##create Tables 1, S1, and S2
source('minimal_groups_analyze.r') ##create Tables 2, S3, and S4 
source('minimal_groups_analyze_firstrow.r') #create Tables S5
source('minimal_groups_analyze_men.r') #create Tables S6
source('minimal_groups_analyze_large_group.r') #create Tables S7
source('minimal_groups_analyze_identity1.r') #create Tables S8
source('minimal_groups_analyze_identity2.r') #create Tables S9
source('minimal_groups_analyze_identity3.r') #create Tables S10
source('minimal_groups_analyze_nonskeptics.r') #create Tables S11
source('minimal_groups_analyze_notrim.r') #create Tables S12
source('summary_stats_table.R') #creates Table S13